Update to rust master
authorDavid Davidović <geosoft.corp@gmail.com>
Tue, 23 Dec 2014 02:15:56 +0000 (03:15 +0100)
committerDavid Davidović <geosoft.corp@gmail.com>
Tue, 23 Dec 2014 02:15:56 +0000 (03:15 +0100)
commitd058d24ae081c338770ce9fac04c6131255b462b
treec4d429a11df3d1974995270c7d0e56a7a53ef4dd
parente11c3172bcdc895e395b6eef4eaa638f0f0c1915
Update to rust master

rust-lang/rust#19253 and rust-lang/rust@25f8051 have introduced changes
to the namespacing within the std::collections::hash_map, breaking some
of Cargo code which imported these.

rust-lang/rust@cf350ea, implementing changes proposed by RFC #344, have
also broken some code which relies on hash_set::SetItems (now renamed to
hash_set::Iter).

This commit fixes the incompatibilities: imports of
std::collections::hash_map::{Occupied, Vacant} have been replaced by
imports of std::collections::hash_map::Entry::{Occupied, Vacant} and one
instance where the SetItems has been used was replaced by the proper
usage of Iter.
src/cargo/core/registry.rs
src/cargo/core/resolver/mod.rs
src/cargo/ops/cargo_rustc/context.rs
src/cargo/ops/cargo_rustc/fingerprint.rs
src/cargo/ops/cargo_rustc/job_queue.rs
src/cargo/util/config.rs
src/cargo/util/dependency_queue.rs
src/cargo/util/graph.rs